Broken factory broke the build :-(
Updated unit test too.
Merge pull request #154 from theodi/badge_and_embed_certificate

Broken factory broke the build :-(