SI-6615 junit test

Test for #3303