Changed Quantity to decimal
Added test for publish stock balance.