fix reverse match test