[Tests] Added some tests fixtures logic + added a test for metadata extraction in repository