Changed to the newest Jersey and Fix tests