added a test for #188

refs #188, #233