added testcases for #688

- refs #688, #233