Update tests for MVC

Make View tests standalone.
Reconfigure some mocks.
Code cleaning.