[COREVM-92] Write unit tests for `corevm::runtime::process`

Unit tests for `corevm::runtime::process`.