can we use `assertEqual` `undefined` here?  probably values that are not valid urls should return `undefined` too.