Adding elements to array test