https://docs.getdbt.com/reference/resource-configs/snowflake-configs#query-tags
You can add query_tag setting the config in your test sql or doing the following configuration in your dbt_project.yml :
data_tests:
your_dbt_project:
your_model:
+query_tag: '{ "key": "value" }'