Add more functional tests

- fix travis