add test server to api headers if available