They work in test mode (using Visual Studio).
When you call a purchase using Visual Studio in Debug mode, a pop up appears asking what you want to do. Here you can mock purchases, purchase fails, purchase cancels, and a couple other goodies.
If you run the app in production mode, pressing purchase brings up a menu saying the app cannot be found.