fix a bug in a test case t/run/178