Added new test to pis calculation