fixes a couple of test error

note that redis must be running locally before unit tests will work