Add test for finalizer bug
Fix Close method for packet tables (so tests pass)