On pi testing