Test case for issue #420.