Test errors Sonar