Added unit test for Save action.