unit test for binary label sigmoid fitting