Strict reporting of errors when testing and related fixes.