Write tests for the new URL form