Fix unavailable capacity calculation
We found that the unavailable
calculation was incorrect, as it didn't consider that the used
count contains any current acquisitions.
The tests have been updated to better reflect this relationship between used
and acquired
and additional tests added.
Closes #1 (closed)