Test URL string checking inside of the query object constructor