add tests for spending methods on transaction model