change: has() to hasItem()
fixing specs