Fixed elementsDoNotHaveDuplicateAttributes test.

Signed-off-by: J. Renée Beach <splendidnoise@gmail.com>