feat(tests): add tests and Travis CI config