fix test case & renamed EntityManagerTest -> ManagerTest