matched_effects working, with some tests