Made view tests more robust.

View tests all now pass no matter what view you may have set prior to test.