Added test for ObjectCreator