Adding tests and travis stuff