SONARJAVA-261 Fix failing profile test