Adding tests for the payment class.