Fix ReactRenderDocument tests

I am unsure how this was ever supposed to work, as testDocument is guaranteed to be undefined at that point since beforeEach doesn't run synchronously. (I don't think there's any way to have beforeEach halt the tests.)
Merge pull request #338 from spicyj/fullpage-tests

Fix ReactRenderDocument tests