Adding unit tests for classifying functions.