Extended gen_test decorator to pass args and kwargs.
A use case might be a decorated test class that passes arguments to each class method, like mock.patch for instance.
Merge pull request #1061 from stj/master

Extended gen_test decorator to pass args and kwargs.