Check HDF file size after close, not just after flush
Add test of corruption after setMetadata close/open
Get the file-size before .storage is set to None
Add missing table.close() in test
Fix mock_storage in unittest
Merge pull request #3219 from manics/rebased/dev_5_0/tables_metadata_close-12606

Tables metadata check size after close (rebased onto dev_5_0)