Add tests for missing close checks

These tests explicitly create proxy instances to gain access to their
finalize methods.  Note that we actually double proxy the underlying
instance for convenience.  Closes #8.