Add tests for server-side mmm logic