fix tests and tasks related to ResourceContactModel