Fix the test for missing URLs to be more general, and patform-independant