update assert for test case in TestPlatformController