Suppress error message in test cases.