adds a testcase for the bug introduced in 4d4ec93897c187dcf52a4461abf5599c83f0fe1b, merged in 124a2e112babaa265419e200f794d96c8468643e and fixed in 83aa063210a88b1f3439a3ee2967f35b2be1ddd9 

refs #305