Test case for bug in jersey upload handling