Add some tests for views in example app

This provides some test stubs for issue #10.