Ignore empty queues

attempted to write tests but failed as the entire environment seems to not work.
the headless server was return internal server errors.