fix matching test