update test for cwd change