Add some basic tests for our DOM shims.