How to test in-App purchase in android?
Try using this tutorial
http://developer.android.com/guide/market/billing/billing_testing.html
Basically, you need to make a specific/reserved product ID that you want to test your in-app purchase with. In particular, you can use the android.test.purchased
product ID to simulate a successful purchase.