Test refactoring
Added toString method
Added byExampleOnManyToMany support