SONAR-4898 add some tests
Automatic merge from branch-4.5

* origin/branch-4.5:
  SONAR-4898 add some tests