Fixed the improper usage of assertEquals.