Added codes to test the urls are consistent