added test for empty match