makes inventory tests pass