fix brittle tests