implements save method with test
0.0.3