added save tests