add test cases for credit transfer