Added tests on saveObject and partialUpdateObject