Fix test for toolbar plugin