- fixed a bug with xpix (nb_iterations)
- improved py test script