Test case added for #352.

--HG--
extra : amend_source : 6751bd374a9264fb1e74033a88cf7abea584ba5e