Added tests for bracket generator