Add DocumentTest case for __get() and __toString() methods.

Signed-off-by: Adam Engebretson <adam@enge.me>