MODE-2255 Added 2 test cases for the reported issue, but both pass fine.