Fixing a brittle test