public void testTaskHandleContainsAllNecessaryProperties() throws Exception {
String name = "testTaskHandleContainsAllNecessaryProperties-" + System.currentTimeMillis();
Queue queue = QueueFactory.getDefaultQueue();
TaskOptions options = withTaskName(name).payload("payload");
options.etaMillis(0); // TODO -- remove this once NPE is fixewd
TaskHandle handle = waitOnFuture(queue.addAsync(options));
assertEquals("default", handle.getQueueName());
assertEquals(name, handle.getName());