Test cases for CollectorTool (implemented methods, not abstract methods). Test cases for CPUCollector and fixed bugs found.