[PATCH 2/3] Automatically collect environment variables to be passed to ks tests.