added more tests for contactManagerImpl, javadoc for tests