This sample demonstrates how you can test an activity with bookmarks
For more information see How do I test an activity with bookmarks?