fixed public_url testing