Purely functional game programming with State Machines

Why is my untested backend code more stable than my untested UI code?