Fix E_DEPRECATED message
Edit test suit about deprecated using of safe option
Merge branch 'hotfix/#6184-deprecated-mongodb-flags-replacement' into develop

Close #6184
Forward Port #6184