Added unit tests for item view.