Added some tests for multidim.