Write all the view tests