validations and tests for items