View tests
Merge pull request #750 from Rayne/test-view

View tests for #749