tests: test some obsoletes.
refactor: Base.build_transaction() so we can unit test its core.