Fix cgclassify bug.
Remove main method in ThreadsTest