Add database support

Since using the redis pub/sub to implement  hook, is it also a good idea use redis to persistent  test results?