pages#index action with tests