Fixing some bugs, adding offset computation
Checkpointing tests (and fixes) for nested structs. Moving test structure to nose.