move url test up, fails otherwise(?)