Fix tests for couchdbkit 0.6.4

This commit does not actually update couchdbkit, just makes it compatible. (Needless to say these changes are also backwards compatible.)