Added test_dynamics.py
NB1: there is a nasty error overriding __setattr__
NB2: * fails in a class inheriting from int