Add implementation of Michael Wathen's MMS test.