The stock market passed a key test in the charts, but another threat looms