REF/TST: add tests for fit method, fix integer division in fit_ls,
TST: add test for normalize_params