Added `buildState` to `test-node`