SONAR-5112 Support of RATING, add tests