create-classifier properly implemented.
Test functions added for create-classifier.