compare array tests