added unit test for numpy.array()