Impressive! As you've found, this can be a good way to "automate" the creation of tests that all follow a similar pattern. Looks like it threw off your indentation a bit though -- I've found it helps to add a line break before the closing brace and indent it at the same level as the opening brace.