BF: Modified the test to handle zero-sized arrays