The S&P 500 will test record highs in 2024 as rising profits fuel bull market