Changed some assertTrue into assertEquals.