test auto has_association_helpers