Testing Gravity with Pulsars in the SKA Era