Tests and fixes passing Dredd class pre-runtime errors to the CLI