test/class: update class tests to also use opal_finalize_util