generate item model and stared item view with tests