Anybody remember why this was done? The description is correct - encoded values are not generated during tests if the file is not going to be saved. There is a comment on the PR about the change improving performance for tests but some casual testing using gradle reported times suggests tests are not running faster with this code. I'm wondering about ripping it out it doesn't seem to be beneficial or necessary.