PHPUnit test for Sitemap and MySQL
Refactoring