Wrote test and impl for contact.getId()