tests for view item model