@Test
public void testGetResponseInvalidKey() throws Exception {

    GroupRequest groupRequest = new GroupRequest();
    groupRequest.setTable(TestUtils.TEST_TABLE_NAME);
    groupRequest.setNesting(Arrays.asList("os", "device", "version"));
    AsyncDataToken dataToken = queryExecutor.executeAsync(groupRequest);
    Thread.sleep(1000);
    try {
        client().resource(String.format("/v1/async/%s/dummy", dataToken.getAction())).type(MediaType.APPLICATION_JSON_TYPE).get(GroupResponse.class);
    } catch (UniformInterfaceException ex) {
        assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), ex.getResponse().getStatus());
    }
}