Test db url creation