updated functional testcases