Refactored ItemAttributesContractTests.java