Added assertResembles to api