Improved view tests.

View tests now clear current before test.