Update for TCT-198 & TCT-200

1. Handle the case that running mode is None
2. Copy tmp/result.xml to the result folder