added tests and travis ci info