Finding out pwd before test run