[api] Moved init of config vars to test_helper instead of an initializer