unittests fail on script exception