Add test on snapshot
Move revision to snapshot from log