fixed tests for local_incsubtensor_of_zeros optimization to handle numpy versions < 1.8