Test for bug 19470: Null pointer dereferences on a document with no documentElement.

On success, should print PASS.