add a testcase for #4534

refs #4534