wallet_publish_state test