test save object