Added the use case test for register payment method close #3