Add functional tests to travis