test single pattern