fixed test that was failing because of async animation of slideToggle