SONAR-4067 fix unit test