Is this used only in the tests?  If so, I'd prefer if we could find a more test-specific place for it, or at least a comment at the top of the file explaining this.