More array api changes, tests and so