implement array tests