memoize and test clean_url (close #4)