speed up Cppcheck and run before tests