Oups junit failed for sum because of thrown exception