Add test for File auto-close (#246)

Under the new identifier-management system, File objects don't "leak" when they go out of scope.  The underlying HDF5 file is closed when no open objects remain.

Adds a test case to verify this.