fix typo and use assertTrue
Merge pull request #1 from fengsp/master

fix typo and use assertTrue