Tests for Item class.