Added automatic testing procedure for Classifier