add tests for urlprefix
add tests for urlprefix

also adds a helper to override the URL_PREFIX setting
and clear caches to test it

maks-us/cabot,maks-us/cabot,maks-us/cabot,arachnys/cabot,arachnys/cabot,arachnys/cabot,maks-us/cabot,arachnys/cabot