Update test for toolbar plugin

- Remove done() paramter and call from it() , we're returning a promise
- Use Array.prototype.forEach instead of a for-loop
- Remove function name from test comment