test multi-threaded classification