Btw, since you mentioned test performance as an issue: I think it would be perfectly fine to reduce this size to 0x1000 here. Why do you specify the size in hex given that the normal index format is long? I suggest to just use normal decimal notation for all numbers that do not play a role in bit operations.