changing retention method and adding test code
Merge branch 'master' of https://github.com/kissrobber/DProperty