bugfixes + tests changed to use new get_meta output format

Signed-off-by: Kwpolska <kwpolska@gmail.com>