adding functional tests for travis build