small changes to contact and unit tests added