Fix a typo.
Add tests for the constructor & store.
Restore and improve compatibility with ruby 1.8.
Gain more coverage.