Reorganize test_fit with matcher.