add verify test func
Merge pull request #2 from sdjcw/master

add verify test func