Post manager cleanup of tests and cleanup of code.