Add test for sourceUrl method