pi testing