Adds some test for the agony calculation.