Test case for #219.