Making use of View::share()
Fixing broken unit test