Fix Functional Testcase