This test should succeed. If you click on the Test Button, there should be a debug message saying "click1".
IMPORTANT: Change the domain name in the source of this file to be the domain name that you want to test. You can change the paths too. In this file /dojo/xd refers to a dojo installation that has run the xdgen build command to build cross-domain compatible packages.