Refactoring on test_item_soa.py