update error reporting from tests