afacli: use array for tests