added os environment API key test