added some tests and a travis file