test: Adapt ObjectCreator test