Use support.change_cwd() in tests.