Fixed pe count bug so that test.common is called to specify the number of pes rather than hardcoded value