completed toolbar interaction and unit tests