SONAR-4898 fix tests