productinventory controller tests