Refactoring tests for renderer to alter usage of mocks.