Pakistan’s Khan tested but not toppled by week of protests