queuehandler and  test