tests: Fix wrong array size for test pattern array initialization