China is facing a serious macroeconomic test, and the comparison with Japan is no longer just a seminar-room debate.