-add joining utility for arrays
-add more testcases