Tests for BannerAllocationCalculator

* Introduces expected allocations for test fixtures.
* Lenient float comparison.

Change-Id: Ifcc1ae015ec7f0d5789f7cd3a0918d4907a56b1e