#306 Extracting separate test for reproducing this issue