Added a test
Added the getURL method and test