Migrate allocation tests