Fixed invalid number of items per sitemap file. Fixed invalid content in second sitemap file if it contains only one item
Added tests for generating two sitemap files