Accept url_data in __init__
Fixed failing tests