Would this make more sense as three separate tests? I think the only duplication would be instantiating `handler`, and that could be a single line.