Add a test for a view