Added test for view

Doesnt work without DOM