Study looks at training resident to use AEDs