add dominant flags to tests
validate many to many associations exists when creating association. fixes #267