added functionality to contactaccountfactory class to create a new contactaccount resource with tests