add test, readme and travis.yml