It would be nice to see a test covering this.