Fix tests for absolute_url.