Adding tests and travis