LockingQueue: fixed tests and documentation