adding initial tests and travis-ci support