Having controller requests act as a factory and getClassMetadata mocks return black objects