fix array tests