Added testcase for #335

--HG--
branch : trunk
1 file changed