added matches tests