Add support for flushdb command and made tests pass

Hi! I am add support for flushdb command. I think it could be useful to clean db between different tests.