added a testcase for #357

- refs #357, #233