Can ChatGPT Pass a PhD-Level History Test?