add apiv1 inventory test