[Bug 3606387]: Fix isolation of test scan-7.4.
[Bug 3606390]: Fix isolation of test string-6.37.