added cpuid function and cppunit-test