Refactor all array tests to use common services