add test cases for redis, fix bugs for mongo test cases
fix the bug in the requests