Added test for an ItemView as a function with a model based return value