Updated for the newer version, and made sure compilation works throughout.
Add tests to ensure #7 is fixed.
Release 0.2.2