tests manytomany