fix bugs in test-report; fix bugs in preprocess test script; fix bugs in ljs_env_clean. env_clean is still not working