Improve the generic param tests
Merge pull request #6 from vietj/master

Improve the generic param tests