Minor changes to the MCJITTest unittests to use the correct API for finalizing