Test to consider the issue https://java.net/jira/browse/JSONP-24 resolved

The test is based on a simplified version of the example given in the issue.