RF-12684: Updated the test reproducing the issue