remove repeated allocation_pools check in unittest

Change-Id: I902a225c5e06b05009b6d923167c4ac3d6fbf6b7
Merge "remove repeated allocation_pools check in unittest"