SONAR-4898 add missing tests, fix loading of default settings and check Java6+