added save to measure
added save test