Fixes #217. Like Patrick says: "Yay for Unit Tests!"
Updated composer.json and .lock. "~2.2" doesn't really work properly (yet).