Add testcase for #1600