clientside/amplesdk-tests — pull request #1 by h6w (2011-12-27 03:07:05+00:00)
Title: Add tests for applying overlays by loadOverlays function.

Tests for:
- Appending elements with ids
- Appending elements without ids
- Inserting elements with ids using the attributes insertbefore, insertafter, and position.
- Inserting elements without ids using the attributes insertbefore, insertafter, and position.
- Change attributes by matching ids.
- Removing elements by matching ids and using the removeelement attribute.

All tests include a check that insertbefore, insertafter, and position attributes are stripped.