after test
add error handler
add mail and log
add testCases