Fix set_item_codes()
& remove old tests
#121
Merged
set_item_codes()
& remove old tests
#121