nullPointerException in ContactManagerTest fixed