Added a functional test to test Travis