Bug 16134: t::lib::Mocks::mock_preference should be case-insensitive