corrrect the metadata builder in order to have working construction of the metadatas.
Add tests on the metadata buider.
Update path for all unit tests.