modify unit tests for SavedObject