Add test for update on inventory sync.