Use CPPUNIT_ASSERT instead of assert.

Change-Id: I24e7934002ebdde208db74ae3308b26875a3155b