Add a simple test for basic view code