Added tests for Matching class