Fixed unit test (URL is now optional)