test(accordion): remove unused variable

I am putting changes of #1635 (The ones that are easy to merge) in different pull request. Easy to read and merge.