Added another test case for #1179