Added loop for clearing many to many before creating again
Updated tests to simulate many to many