Added new tests for metadata links tracking