improve reporting of selftest errors