tests for logit cost function, test dataset