Fix MutableDiagnosticsTest#testCaching()

Sadly relying on implementation details