refactored classifier testing framework in NERModel