add testcase for #315 if I'm understanding right should produce no output