test: implement TestCpu.test_basic()
 * split tests into seperate classes
 * add test/stat/basic.txt
cleanup based on pylint output
added Makefile