Fixed the view tests