Passed the redis db to all handlers, implemented test