use subprocess instead of commands in testsuite

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

00:00:10