It would be good to have a unit test that covers this.