test1d is done this time, I believe, BTW, fix a bug for test 1a (dead loop for idle)