added numdp test
bugfix
troyes tests