Tests for applying Sonar plugin