test END cleanup still works after chdir.