added travis and fixed the errors in tests (we were mocking redis wrong)