making sure metadata will be initialized correctly
adding new test case for metadata handling
Merge branch 'genericmetadata' into next
adding exception handling to metadata class
Merge branch 'genericmetadata' into next
cleaning up metadata related header
Merge branch 'genericmetadata' into next