Added some tests and Travis