assertEquals("Index incorrect for missing attribute", -1, index);
index = window.getIndex("qrs");
assertEquals("Index incorrect for missing attribute", -1, index);
// Now move the window and try again.
window.move(offset2, offset3 - offset2);
index = window.getIndex("", "abc");
assertEquals("Index incorrect for attribute", 0, index);
index = window.getIndex("abc");
assertEquals("Index incorrect for attribute", 0, index);