fix UT and modified travis.yml