fixed testcase for #641

-refs #641, #233