Add first mondogb test. Refactor test_medium utils function