Added cppcheck to Makefile and test script.