Test case for #a29dc52e27 commit