test of array to null pointer is always false