change verify, close #5
add test