MODE-2393 Fixed invalid unit test.