Implemented Contact.java and added unit tests