Create test specific markup in tests

Instead of relying on a shared dom structure, the tests should create (and destroy) elements as needed.
Merge pull request #395 from tschaub/no-test-markup

Create test specific markup in the individual tests as needed instead of relying on a common dom structure for all tests.