Simplify and fix url fetch tests.