implement function to run current test file