Added some tests and a travis file