SONAR-4412 Fixed failing unit test