remove and detach unit tests were not cleaning up, causing selector tests to fail