Test case for object literal errors from node-oauth.