Return the queue IDs from the push method.
Fix tests.