tests: new interface using finalization to ensure reporting is correct in all code paths