Undo change made to nStatesDelayedDecision; add unit test

Status Job ID Name Coverage
  Build
passed #10254
docker
autoconf

00:04:59

passed #10255
docker
cmake

00:00:50