Add an equivalent Moq test.