adding tests for item model