test save function[not tested]