Add chaining to parameterize tests

This allows for chaining of tests with the same set of test cases.