added functional tests to travis