fix test failures

- Wrong calling convention for loaded function.
- NoFinalize classes are collected inadvertently.