fixed param check
Improve the generic param tests