Add the metatdata builder and its first test.