add tests for toolbar