Added redis tests

And support for classes in parameters