added a testcase for #290

- refs #290, #233