Pakistan successfully tested an intermediate range ballistic missile that can carry nuclear warheads