This SetUpTest function is getting large enough I wonder if it would be good to break it up into a few small setupFoo functions that all get called during SetUpTest. I guess I'd have to see if pulling them apart makes it easier to understand because of hiding unimportant details, or hard to understand because of related data that isn't directly obvious.