add unit test in .travis.yml