Unit tests for timeout and max_retries API config options