Yeah. This whole file is riddled with common code - helper methods might be good. Another idea is smaller base test suites with shared `setUp` methods for tests that are so common. You can have multiple test classes for a feature to make the tests simpler and shorter.