Added some tests and travis