functional-testing

added functional testing