Restore tests for Emacs snapshot