Add the ManagerTester class.
Remove duplicate code.