add tests, badges, and travis