added another testcase for variant (multidimensional array), perhaps accessing functions for md arrays are needed
cleaning up