Change allowed query numbers in AdminFormsTests and GlobalPermissionTests