Added encryptedcreditsale and it's accompany test script.