Remove MiniTest warnings
Fix ruby warning

This commit removes a warning caused by `object_id` being undefined.