check writes on related manager from m2m

another test case that shows the querysets update() and delete()
is also broken when retrieved from a manager from a m2m model
in a master/slave router configuration.