Add tests for cppcheck-target-cmake