refactored controller spec for items