Test dataclass creation, immutability, equality, and hashability for ThermalState and ElectricalState. Also test PhysicsEngine stub methods.