SONAR-4898 add some tests