Suppress error printing during testing