Added server unit test and fixed priority not being set correctly in sitemap