testing array struct