Copied regression script from cclib repo as per cclib/cclib#152