Added Functional Test Cases