test for getting 3 numbers which sum is zero