FM-103: Add metadata.json to all modules.
Merge pull request #401 from apenney/metadata

FM-103: Add metadata.json to all modules.
Correct incorrect expects and init race condition
Merge pull request #405 from hunner/fix_specs

Correct incorrect expects and init race condition