```ruby
require 'spec_helper'

class TestPagesController < ApplicationController
  include Cmtool::Includes::PagesController
end

describe TestPagesController, type: :controller do
  describe 'sitemap' do
        it 'returns a proper sitemap' do
          create_pages_tree
          get :sitemap, format: 'xml'
          expect( response.body ).to include "<url><loc>/en/child2.2</loc></url>"
        end
  end
end
```

Test controller page includes by means of real application controller spec
user
```ruby
require 'spec_helper'

describe PagesController, type: :controller do
  describe 'sitemap' do
        it 'returns a proper sitemap' do
          create_pages_tree
          get :sitemap, format: 'xml'
          expect( response.body ).to include "<loc>http://test.host/en/child2.2</loc>"
        end
  end
end
```
assistant