After 22 days of training, I finally completed the checkride last night and passed! For upgrade LOE (line operational experience), they pair us with a new hire FO. The LOE is basically simulating a line flight. So we start at a gate and end at gate and it’s all done in real time. Luckily my FO was an 8 year ExpressJet FO and was very sharp. I met up with him a few days before the checkride just to meet him and go over expectations. We get to the sim building and wait for our examiner. The examiner was awesome. Very fair, made us feel relaxed but also laid out clear expectations. After about 20 minutes of sorting out paperwork, we began the oral. We went back and forth with answering systems questions. We both answered about 20 and got 1 wrong each, which was to standards. Next was the pre flight pictorial, which consisted of pictures of a walk around that were either good or had an issue. The stuff that had a problem was obvious like fluid leaks, Gear pins left in, bent probes, etc. The whole oral lasted about 45 minutes which is pretty normal under AQP (advanced qualification program). Before AQP, you may have been expected to “build the airplane” and orals were long and grueling. The AQP program is a lot friendlier. After the oral, we took a break and the examiner set up the sim. We get our paperwork and we have one of our ignitions MEL’d. Read the MEL and it was documented properly. Operationally, we just had to turn on continuous ignition before each engine start. As I’m checking the circuit breaker panel, I notice some loose screws. I wasn’t sure if this was part of the sim or checkride so I opted to “call” dispatch and get a patch over to maintenance. Mx came and screwed the loose screws in. They didn’t go all the way in but the examiner said he will call it fixed. We get settled in and it’s my flying leg first. The flight was from ATL-XNA. We taxi out and do a normal takeoff. At about 6K feet, we get an IDG1 caution. We run the QRH, get in contact with dispatch and we both decide we can continue to XNA. As soon we get done with that, we get an emergency call from the FA and some guy is having chest pains and possible cardiac arrest. Good news is there’s a cardiologist back there and he is diagnosing the problem. They call back in a few minutes and say it it’s cardiac arrest. I brief the FAs, tell them we still need to contact some people and take care of administrative stuff so she has about 15-20 minutes. We declare an emergency and I ask for a vector back towards ATL. I hand the controls and radios over to the FO and tell him to handle the plane and radios, get us set up for the approach and get our landing numbers. While he doing that I coordinate with dispatch and both decide it’s angpod idea to head back tp ATL. I let the FAs know and make an announcement to the passengers. My FO gets the weather and it severely dropped to a 1/4 mile so we had to shoot a CATII approach. Knowing that we had to shut down a generator before, I carefully looked at the required equipment and we were able to do the approach because all we need is two generators, which can be two main generators or 1 main generator and the APU generator. We break out at minimums, land and get to the gate. I leave the seat belt sign on and make a PA to remain seated until medical personnel has cleared the aircraft. Last I wrote up the IDG caution and called dispatch and mx. “Scheduling” called and said we have to do another flight to MEM. Mx fixed our plane so we are taking the same one. We take a 10 minute then come back. Now it’s my FOs leg. Same MEL, same taxi out. While climbing ATC is reporting ice and moderate turbulence. I call back to the FAs and inform to remain seated, buckle down the carts, and I would call them again when it’s smooth and safe to get up. I also inform the pax about this. After passing through the turbulence, I call back to the FA and tell him it’s good to get up. There was only like 40 minutes left in the Flight so I said it’s their discretion if they want to do a beverage and snack service. I made a PA and turned off the seatbelt sign for a few minutes. As we descended on the STAR, we had a trim issue. I thought it was a runaway stab trim and the FO agreed. We ended up misdiagnosing the problem and went with the wrong QRH. We had to repeat the failure and the second we got it right. FO had to shoot a hand flown LOC to 18R down to minimums. Flew it perfectly, we land, I write up the discrepancy, and that concluded the checkride. The examiner informed us we both passed and we did a de brief. I’ll have about a week off until OE because they are pretty backed up. Looking forward to racking up PIC time!