fix performance problems in BLTypesystem tests