test of expect