FLOE-119: refactored metadata utils tests.