mock out the save unit call