Changed the assert in the unit test