Jersey-server: more testing methods + clean up.