Item class and its tests