Fix tests

This should allow tests to run. The urlize function was removed in 655a3b15ec3830988c3cc6880b471b4bade301d3 and this broke tests.test_utils.