Another brittle, mock-based test