testcase for #962
refs #962