array_extended tests and code updated