Improve state-root tests
Allow action-options in environment

Splits state-root implementation into state-root-checksum and
state-root-backup.