tested the penalty calculator