add test set, modify patter