This isn't well documented publicly (all the documentation is shared with trusted testers), but you can test locally with the local development server (in Java in the current SDK, and in Python in the SDK shared with testers).
If you're using Java, you can check out instructions in the codelab.