NIFTY50 tests 24,000 resistance ahead of May 26 expiry amid mixed cues