Fixed broken objectstorage unit test.

Change-Id: I7493b5b3897bc3d06e5097821daaf8467832fac2