Fix stock management specs.