US stocks test record highs as Powell says ‘the time has come for policy to adjust’