Fix tests by removing uneeded error traces