save/load functionality + test examples