Remove redundant cwd setup in tests.