REFACTOR: write test that insures controller pass on to the view