Fix diffviewer generation in UI tests.