Another attempt at fixing the unit tests of the pec module.
Authored by: bugman 2013-03-23
Parent: [r19094]
Child: [r19096]