update functional test for travis