add test for save() and load()