Added test of save method