fix toplevel (had to remove class cparams in previous commit)
added carray/ctable tests