Improve error report if crash due to bad testspec