Added unit test for save() task