Implemented testCalculatePayment()