added test for getMatches of ItemManager