changed the working of mmr_lib so that fixed query and test set are
expected in full test