Testing CPR code