Added support to generate a script from instrumented assert zero code

Signed-off-by: Herbert <herberthb12@gmail.com>
Added a file log in the test cases

Signed-off-by: Herbert <herberthb12@gmail.com>