Add a test_unit target.

Especially useful for running the unit tests without a mongod and/or
postgres available.
Fix parsing updates without _id in the update field.

Also, add a test case. closes #5.
Fix Gemfile.lock.