I've added a spec for this in my other commit.