wrap _id with idToMongo() method in the save() and delete() method so it works with string representations of the _id
added tests for the change in generated repository that wraps _id in idToMongo() for save() and delete()
fixed and simplified some tests