modify getURL JUnit test to check the contents