Fixing test failures and custom settings facade bug for allocations.