[api] Setting an ENV variable for test variables