update inventory controller test