adding regression test, using np.empty