add test sample and travis.yml