add test dir and travisci config