try harder to reset cwd between tests

absroot.php is failing on travis but passing everywhere else :-/