Fix unit test.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Merge pull request #837 from Tithugues/fixPU

Fix unit test.