Unit Tests

- Corrected two broken DOM unit tests.