fixes to test_mxarray and rename mxscalar to mxarray (for uniform interface)