Added basic metadata parsing unit test.