Add test cases for initializing item