Rename Document to DocumentPlugin in the spec

We were redefining a global variable in the test file causing
JSHint to throw an error.