Fix segfault of testDynamics.cpp