Add tests for plot_matches