added inventory tests