testcase for #880
refs #880