tests: Use the right array size in tests.