* fix add_bracket_after_function had no effect * added test for fix * using monkeypatch to set add_bracket_after_function.