Pi testing