adding tests and Travis