Energy2D: Fix parts tests

[#52940627]