fixed issue with zero value tax rate

and associated tests