Simple test for build_metadata_transaction