Added Cursor.wrapCallback helper method.
merge
Temporary removed two tests.