SONAR-5163 Fix profile tests