ESDEV-1540 unit tests fail after update from 5.0.0 to 5.1.4 The problem was because state id was changed to numeric values, but this causes more damage for now than it fixes, so restoring this behaviour for now. Might add it back to later versions with correct fix. (cherry picked from commit 4fca8c0)