Prevent unit test from overwriting versions.json [#85025278]