This test is a whopper at 30 lines. Consider extracting some of the code to setup methods.