non-uniform weight test case for both reg and clf and all losses