use more constants in tests

import static javax.ws.rs.HttpMethod.*;
import static javax.ws.rs.core.MediaType.*;
import static javax.ws.rs.core.Response.Status.*;
import static com.google.common.net.HttpHeaders.*;