Expand the test for document.embeds/plugins.
Merge pull request #1135 from Ms2ger/embeds-plugins

Expand the test for document.embeds/plugins; r=Manishearth