Add tests for fromndarray and tondarray.