use subprocess instead of commands in testsuite

1 job for debug_ci in 10 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #2187
test

00:00:10