Added Functional tests with Stubs generation