Added tests for client-side mmm logic