Add'flushall' to before and after for each test

Previously the data from each test remained in Redis until the test
environment was torn down. In theory this could lead to contamination
between tests. This change adds a 'flushall' before and after each test,
which clears all data from Redis.
Merge branch 'flushall'