Corrected docblock
Added test for creating metadata dto