Yes, before going to any kind of surgery doctors will recommend you to undergo tests to rule out any issues. Doctors recommend tests before surgery to prevent any complications during the surgical procedure.