update tests for model changes and fix bug in relationships
change hint to use new attrib approach
change hint to use new attrib approach