added unit tests for custom learners.  strangely, the logistic one does not pass yet...