add spec for couchrest/couchrest_model#167
potential fix for couchrest/couchrest_model#167