I made a greasemonkey script (+ a daemon) to create netbeans project with test cases. I don’t know javascript so I did what I could. I modified it a little bit for your purpose. You can found it here
This script add a “Download test” button on top right (next to language selection) which create a json file with puzzle title, test cases (name, input + output), description and code template.
Original script come from here