no message
Revert "no message"

This reverts commit a93810a3a4e780f43e45a885c2bfe3050e9e5e60.
Divided the single complex test into multiple junit tests.
In the process, found a bug and fixed it.
Updated comments in the allocate(min, max) to clarify.