Pass static props to top-level route

Fixes #28.

I'm not sure if it's correct to do `document.createElement` in a test, but it seems to work.