Add the second test2 for the CppUTest

Write the tests first and then implement the function.