fixed timing issue in test, added functional test for non http_cached sitemaps
refactored dump command