SONAR-5417 Reorganize unit tests