added test for array:dot function/generic case