Added tests for saveObject and partialUpdateObject