tests: use integer value for error_reporting