tests of more complex DOM operations.