SI-8314 Prevent SI-8314 by adding a test

The original issue was fixed already. This test is just for make sure.