Regression tests that used bash would fail valgrind tests