add ostream error to any test file.