add model to view testing code