FELIX-4184 Added a test case that shows the failure described in the issue. Did not yet commit a fix, so it will now fail.