enabled array test using expect syntax