Functions for extracting index metadata

Please added comments on what this test does, how it behaves and so on.
IIRC it can be placed into special doxygen group to be then exported into test description chapter later, contact Ruslan, he knows how this group is called