Add support for generic arguments on test methods