make the struct fields property and value of Item public
adjust the code and the tests to the latest change (making the fields of Item public)