adding 0 as infinite timeout
adding uncaught exception handling
update the error message when test script fail to load