Add some tests and Travis