Sonarplugins 2852

Created test for null pointer exception when no source files are found. Used the fix as coded by cdegroot in his pull request.