Completed the functional test for ManagerFactory