Add a couple tests for decoratedTx.addChange()

Also move the calculateFee() function as a field of decoratedTx.
Same thing here - the comment should start with 'calculateFee is a function that...'