Modifying the unit test to fix build failure