Updated Item class TestCases
Fix bug with lastItemId attribute