Inventory import tests

Commit cdb0b27 Fixes #88.