Wrote BlockAllocator tests.