Added tests for ObjectID conversion