Add functions for create and restore snapshots
Add tests for snapshots
Default ldif that activate snapshots