run the test in the test_dir