atomic save not working
Fixed atomic save problem, added tests for pre and post save events
Merge pull request #275 from ZiDoMs/develop

atomic save not working