LPS-44295 Add test for the new behaviour