Added tests and Travis instructions