Encode all spaces in Mapit test helper-generated urls