update test on validity pattern
Merge pull request #508 from patochectp/dev

update test on validity pattern