fixed MainToolbar.spec test pollution