added an inventory throw test
added a conversion test