Test to check that url is built.