test binary classifier