Tests the fix for issue http://java.net/jira/browse/JERSEY-1964
