Fixed ClassNotFound exception while restoring state. Added SaverTest.

please add library.iml to ignore file