Added container allocation tests, re #135.