[tests] Fixed broken test due to CppUTest opgrade.