His journey involved visiting the celestial abodes of each deity and subjecting them to rigorous tests