green tests, unit test for save method