Fixing Source Analysis in core tests