SENSEX ends marginally lower at 74,294; Nifty tests 23,346 level