[features] test for thin_dump with small metadata
[metadata_dumper] Fix bug where ranges were appearing in all devices for small metadata.

Author: Teng-Feng Yang