Other tests and bugfixes. Moreover, delete the dynamics when the corresponding game is deleted.