unit test clean up rmdir wildcard fix