putting const on pointer arguments
adding test for binary classifier