test for pi