Update tests for url.js