Nifty Tests 24,540 Resistance as Bank Stocks Drive Rally