update bracket-generator; fix tests