FIX code to pass tests
TST add travis.yml
TST travis needs to start redis
Merge pull request #1 from hayd/tests_passing

Fix tests and add travis ci