[PATCH 2/3] build: generate tls config for unit tests