use testcasesource instead
https://stackoverflow.com/questions/4220943/how-to-pass-dynamic-objects-into-an-nunit-testcase-function