fix compile in tests prog
Merge pull request #767 from kerautret/FixCompile

fix compile in tests prog