add wal test and pass
add snapshot test and pass it