LexerEngine class: Added unit test for restore_snapshot method.

All unit tests for LexrEngine#add_snapshot, #pop_snapshot,
#restore_snapshot are passing.