fix mkt statistics tests, refs #793032
the mock_es class level setting isn't reliably applied
use the decorator instead
Merge pull request #676 from hannosch/793032-fix-es-tests

fix mkt statistics tests, refs #793032