checkpointing io tests with prims
checkpointing enums/structs