Testing mongo data to view