Add tests for many to many aggregates