Checking of possibility of bad result. Adding test case for issue CR24005 Correction of test case for issue CR24005