fix to error fallback on fail
added tmp directory for test runner