Mock mongo event tracking backend during tests

@wedaly @mulby review please