AutoResearchExam: Measuring agents' ability to improve and generalize