added test for order of allocated sections