Bug 963111 - Toolbar should be able to accept buttons as well, other than frames

- Added test case
- Depends by pull #1418