fix typo and use assertTrue