Added test and URL fix for getting sources