Fixed problem with ObjectToSceneTest.

It was relying on functionality that had been moved into GafferCortexTest.