Tests mocks.