Add missing test for sample weight with partial_fit + fix issue classes passed as a list instead of an array