added a test to verifiy the view, refs #386