Tests: added metadata comparison test