Added another testcase for #495