Added support for parameters with such

This is not very pretty but it works and doesn't seem to break anything...
I couldn't think of a better way to have the _test intermediate function handle the default argument "case=case" when it receives arguments from parameters... hence the test on caseOrFirstParam, and the extra make_test_func to ensure "case" is properly stored as closure.
This fixes #139.