To me this makes the tests more complex than necessary. I'd favor a `self.view_type` method on both test cases, which simply return the type of view to create.