Added tests for format bugs and toolbar attributes