added repro for issue #318