test grad boost loss funcs pep8`ed