Sensex tests 77,950, Nifty above 24,300 as Asian markets rebound