Fix bug with Queue.size accessing wrong data.

Queue's @data was being populated in two different ways which meant
that a call to size would fail unless queuedBuilds had been expanded.

Updated test to support.