Bug 1111124 removing redundant code from "test Anchor And Arrow" of test-panel.js