Rearrange test helpers.

Also remove unused SemanticZoom helper.