Switch to current working directory during testing