additional error logging for tests