fix typo and use assertTrue

I think assertTrue is better, cleaner. Less is less.