Added tests for match