Fix PendingDeprecationWarning for assert*

This commit fix all PendingDeprecationWarning for assert*
function in unit tests.

Change-Id: If474d9feb7eeb277b2cbd1d1160c955c7da29ef3
1 file changed