added tests for the item class