Join function in array, first tests