TESTS: Use subprocess to do tests