fixed bug in changeElementSelectionTest