checkskip function for test generators

helps deal with parametrization that yields no params, warns in that case
Merge pull request #538 from seandst/testgen-checkskip

checkskip function for test generators