Testing the calculations