moved rmdirp to test helpers
moved definitions to be inside the fixtures