added jersey tests