A test for this would be good.