Fix exception on tear-down of InsertTests.
Fix exception on tear-down of InsertTests.

jumpinjackie/fdo-swig,jumpinjackie/fdo-swig,jumpinjackie/fdo-swig,jumpinjackie/fdo-swig,jumpinjackie/fdo-swig,jumpinjackie/fdo-swig,jumpinjackie/fdo-swig