Added metadata test data
Bug fixes
Metadata parser test