subtests..workdir and enhence subtests..run_twice

for the expected failure testings, it's good to make judgement by its exit status and turn the testing result into GOOD, and also log related error from stderr.