add test for clear(), save() and load()