Test cases for ItemList

test cases for size() method